package insight;
/*
    @author TTDB
    @create 2025/8/27
*/

import java.util.LinkedList;

public class Mian {
    public static void main(String[] args) {
        List<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(0,2);
        System.out.println(list.get(0));
        System.out.println(list.size());
        System.out.println(list.remove(0));
        System.out.println(list.size());
        System.out.println(list.remove(Integer.valueOf(1)));
        System.out.println(list.size());
        System.out.println(list.set(0, 3));
        System.out.println(list.size());
        for(Integer i : list){
            System.out.println(i);
        }
        LinkedList
    }
}
